﻿using System;

namespace GLDotNet
{
    public partial class GLContext
    {
        public void ClearColor(Color4 color)
        {
            this.ClearColor(color.R, color.G, color.B, color.A);
        }

        public void TexParameter(TextureTarget target, TextureParameterName pname, TextureFilter param)
        {
            this.TexParameter(target, pname, (uint)param);
        }

        public void TexParameter(TextureTarget target, TextureParameterName pname, TextureWrapMode param)
        {
            this.TexParameter(target, pname, (uint)param);
        }

        public void UniformMatrix4(int location, ref Matrix4 value)
        {
            this.UniformMatrix4(location, 1, false, ref value.M11);
        }
    }
}
